package com.tocici.domain.bo;

import com.tocici.domain.UserCateRelation;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;

/**
 * 用户喜欢分类业务对象 user_cate_relation
 *
 * @author zeratul
 * @date 2025-03-02
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = UserCateRelation.class, reverseConvertGenerate = false)
public class UserCateRelationBo extends BaseEntity {

    /**
     * 
     */
    @NotNull(message = "不能为空", groups = { EditGroup.class })
    private Long userCateId;

    /**
     * 
     */
    private Long userId;

    /**
     * 
     */
    private Long cateId;

    /**
     * 
     */
    private Integer isDeleted;


}
